
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemPost.parent"))
  </label>
  <div class="col-sm-9">
    <input name="old_parentid" type="hidden" value="#(systempost.parent_id ??)"/>
    <input name="systemPost.parent_id" type="hidden" value="#(systempost.parent_id ??)" id="parentId" />
    <div class="row">
      <div class="col-lg-6">
        <div class="input-group">  
          #set(parent_Name = "")
          #if((systempost.parent_id ??) == null )
          #set(parent_Name = "")
          #else
          #modeltag({tagcode:"jxbrms_systempost",term:"post_id=?",id:systempost.parent_id,name:"postparent"})
          #set(parent_Name = postparent.POST_NAME)
          #end
          <input type="text" class="form-control" value="#(parent_Name ??)" id="parentName" jac_url="#(jxwebpath.item)service/post/list/" 
                 jac_viewnum_url="#(jxwebpath.item)service/post/viewNum/" jac_id="parentId" jac_change="changePost()"/>
          <div class="input-group-btn">
            <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu dropdown-menu-right" role="menu">
            </ul>
          </div> <!--input-group-btn-->
        </div> <!--input-group-->
      </div> <!--col-lg-6-->
    </div> <!--row-->    
  </div>
</div>
<div class="hr-line-dashed"></div>

<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemPost.postCode"))
  </label>
  <div class="col-sm-9">
    <input name="systemPost.post_code" class="form-control" type="text" value="#(systempost.post_code ??)" id="postCode"/>
  </div>
</div> 
<div class="hr-line-dashed"></div>

<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemPost.postName"))
  </label>
  <div class="col-sm-9">
    <input name="old_parentid" type="hidden" value="#(systempost.parent_id ??)"/>
    <input type="hidden" name="systemPost.post_id" value="#(systempost.post_id ??)" />
    <input name="systemPost.post_name" jtag='#(jxrb.message("systemPost.postName"))'class="form-control" type="text" value="#(systempost.post_name ??)" id="postName"/>
  </div>
</div>   
<div class="hr-line-dashed"></div>

<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemPost.description"))
  </label>
  <div class="col-sm-9">
    <textarea rows="3" class="form-control" name="systemPost.description">#(systempost.description ??)</textarea>
  </div>
</div>   
<div class="hr-line-dashed"></div>

<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("public.viewnum"))
  </label>
  <div class="col-sm-9">
    <input name="old_view_num" type="hidden" value="#(treeInfo.createTreeNode(systempost).treeNode.treeLevelInfo.viewNum ??)"/>
    <input name="view_num"  type="text"  class="form-control" value="#(treeInfo.createTreeNode(systempost).treeNode.treeLevelInfo.viewNum ??)" id="viewNum" />
  </div>
</div>   
<div class="hr-line-dashed"></div>

<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemRole"))
  </label>
  <div class="col-sm-9">
    <input type="hidden" name="group_id" id="group_id" value="" />
    <input type="hidden" name="old_group_id" id="old_group_id" value="" />
    <ul id="treeInfo" class="ztree"></ul>
  </div>
</div>   